All Questions
4 questions
2votes
1answer
268views
Analyze Shakespeare's Macbeth parsing XML from web using Nokogiri
This is a simple Ruby program to analyze the number of lines characters speak in Shakespeare's Macbeth using Nokogiri and open-uri to parse a given url containing xml. I wrote this as practice getting ...
5votes
0answers
204views
Error Handling for XML parser
I have the following Ruby code, which parses an XML document sax style (it's a very simplified version): ...
5votes
3answers
3kviews
Converting KML/XML to Javascript
So, I have the boundaries of every states in the US, from the google map KML file. This KML file is actually a XML file. I'm converting this file to a JS file compatible with google map in order to ...
3votes
2answers
7kviews
Parsing data from XML using Ruby and Nokogiri
I have a method that parses XML into an array of hashes. Here is the original XML: ...